<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="main.css" rel=stylesheet type="text/css">
<title>Samples</title>
</head>
<body>
<h3><a name="Samples"></a>Examples of Valid and Invalid Schemas</h3>
<p> Located at <i>SchemaQualityCheckerDir</i>/samples are two
examples of XML Schemas files:</p>
<ul>
<li><a href="../samples/bad.xsd">bad.xsd</a> is an example of invalid schema.
If you run Schema Quality Checker with the following command:<br>
&nbsp;&nbsp;SchemaQualityChecker -reportAsXML badErrorReport.xml <i>SchemaQualityCheckerDir</i>/samples/bad.xsd,<br>
all error messages will be printed in badErrorReport.xml. This file should be quite the same as <a href="../samples/bad.err.xml"><i>SchemaQualityCheckerDir</i>/samples/bad.err.xml</a>.</li>
<li> <a href="../samples/good.xsd">good.xsd</a> is an example of valid schema.
Run schemaQualityChecker with the following command:<br>
&nbsp;&nbsp;SchemaQualityChecker -reportAsXML goodErrorReport.xml <i>SchemaQualityCheckerDir</i>/samples/good.xsd<br>
and compare goodErrorReport.xml to <a href="../samples/good.err.xml"><i>SchemaQualityCheckerDir</i>/samples/good.err.xml</a>.</li>
</ul>
</body>
</html>
